package code17_单例模式;

/**
 * @author 黄衡熙
 * @version 1.0
 */
public class Test01_饿汉模式 {
    public static void main(String[] args) {
        SomeBean someBean=SomeBean.getSomeBean();
        SomeBean someBean2=SomeBean.getSomeBean();
        System.out.println(someBean==someBean2);
    }
}
